package com.example.tse.rbhttpservice.service.home;

import com.example.tse.rbhttpservice.service.home.model.HomeGetNewUserExclusiveRequest;
import com.example.tse.rbhttpservice.service.home.model.HomeGetNewUserExclusiveResponse;
import com.example.tse.rbhttpservice.service.home.model.HomeGetSecondRequest;
import com.example.tse.rbhttpservice.service.home.model.HomeGetSecondResponse;
import com.example.tse.rbhttpservice.service.home.model.HomeGetSpecialsRequest;
import com.example.tse.rbhttpservice.service.home.model.HomeGetSpecialsResponse;
import com.example.tse.rbhttpservice.service.home.model.HomeGetRequest;
import com.example.tse.rbhttpservice.service.home.model.HomeGetResponse;
import  com.example.tse.rbhttpservice.service.RemoteServiceListenerT;

/**
*
* @author wliu
*  edit   tse
*/
public interface HomeService {
/**
* 获取新用户专享
* @param request
* @param listener
* @return HomeGetNewUserExclusiveResponse
*/
void getNewUserExclusive(HomeGetNewUserExclusiveRequest request, RemoteServiceListenerT
        <HomeGetNewUserExclusiveResponse> listener);

/**
* 获取秒杀
* @param request
* @param listener
* @return HomeGetSecondResponse
*/
void getSecond(HomeGetSecondRequest request, RemoteServiceListenerT
        <HomeGetSecondResponse> listener);

/**
* 获取热卖推荐
* @param request
* @param listener
* @return HomeGetSpecialsResponse
*/
void getSpecials(HomeGetSpecialsRequest request, RemoteServiceListenerT
        <HomeGetSpecialsResponse> listener);

/**
* 获取首页所有数据用户，包括广告、组团、秒杀、专场
* @param request
* @param listener
* @return HomeGetResponse
*/
void get(HomeGetRequest request, RemoteServiceListenerT
        <HomeGetResponse> listener);

    }
